package com.hwtx.form;

import com.hwtx.form.domain.service.RacService;
import com.hwtx.form.dto.RoleDataResourceDto;
import io.geekidea.boot.framework.page.Paging;
import io.geekidea.boot.system.dto.RoleMenusDto;
import io.geekidea.boot.system.dto.UserDto;
import io.geekidea.boot.system.entity.SysOrgRole;
import io.geekidea.boot.system.entity.SysOrgUser;
import io.geekidea.boot.system.query.SysUserQuery;
import io.geekidea.boot.system.vo.SysMenuTreeVo;
import io.geekidea.boot.system.vo.SysUserVo;

import java.util.List;
import java.util.Set;

public class MockRacServiceImpl implements RacService {
    @Override
    public boolean saveUserInfo(UserDto userDto) {
        return false;
    }

    @Override
    public List<Long> getOrgIdsByUserId(Long userId) {
        return List.of();
    }

    @Override
    public Paging<SysUserVo> getAssignedOrgUsersPage(SysUserQuery query) {
        return null;
    }

    @Override
    public boolean deleteUser(Long userId) {
        return false;
    }

    @Override
    public void bindOrgUsers(List<SysOrgUser> orgUsers) {

    }

    @Override
    public boolean unBindOrgUsers(List<SysOrgUser> orgUsers) {
        return false;
    }

    @Override
    public boolean assignRoles(List<SysOrgRole> orgRoles) {
        return false;
    }

    @Override
    public List<SysOrgRole> getRolesByOrgId(Long orgId) {
        return List.of();
    }

    @Override
    public List<Long> getRolesByUserId(Long userId) {
        return List.of();
    }

    @Override
    public boolean setRoleMenus(RoleMenusDto roleMenusDto) {
        return false;
    }

    @Override
    public Set<Long> getUserResources(Long userId) {
        return Set.of();
    }

    @Override
    public RoleDataResourceDto getRoleDataResource(Long roleId) {
        return null;
    }

    @Override
    public boolean saveRoleDataResource(RoleDataResourceDto roleDataResourceDto) {
        return false;
    }

    @Override
    public List<SysMenuTreeVo> getRoleForMenus(Long roleId, String keyword) {
        return List.of();
    }

    @Override
    public List<RoleDataResourceDto> getRoleDataResourceByUser(Long userId) {
        return List.of();
    }

    @Override
    public List<Long> getAllRoleIdsByUserId(Long userId) {
        return List.of();
    }
}
